const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  menus: state => state.user.menus,
  menusLoad: state => state.user.menusLoad,
  authZzjgLbDm: state => state.user.zzjjlbdm, //组织机构类别代码
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  permissionRouters: state => state.permission.routers,
  permissionAuthRouters: state => state.permission.authRouters, //权限系统菜单
  addRouters: state => state.permission.addRouters,
  iframeHref: state => state.permission.iframeHref, //iframe模式引用的src
  sidebarTopActive: state => state.permission.sidebarTopActive //当前选中的头部导航
}
export default getters
